* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 微軟正黑體, Microsoft JhengHei;
  position: relative;
  font-size: 14px;
  background: url(../images/testBg.jpg);
  background-size: cover;
  color: #000000;
}

a {
  text-decoration: none;
}

.clean {
  clear: both;
  visibility: hidden;
}

.is-hide {
  display: none;
}

#top-menu a {
  cursor: pointer;
}

/*===================================================*/

#loginWindow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200000;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: center;
  vertical-align: middle;
  overflow-y: scroll;
}

.AD_close {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  cursor: pointer;
  border-radius: 50px;
  font-size: 1.3em;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 500;
}

.login-page {
  /* width: 380px; */
  /* padding: 8% 0 0; */
  /* margin: auto; */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.login-form {
  margin-bottom: 20px;
}

/* 20201109 */
.form h1 {
  font-family: "Noto Sans TC", sans-serif;
  text-align: left;
  font-weight: bolder;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 20px;
}

.form {
  position: relative;
  z-index: 1;
  background: #ffffff;
  /*max-width: 380px;*/
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
  border-radius: 10px;
}

.form input {
  background: #fff;
  border: 1px solid #959595;
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-width: thin;
}

.form button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #8c001a;
  width: 100%;
  border: 0;
  padding: 6px;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3 ease;
  cursor: pointer;
  font-weight: bold;
}

.form button img {
  display: inline-block;
  margin-left: 5px;
}

/* 20201109 */
.form .button img {
  margin-left: 5px;
}

.form button:hover,
.form button:active,
.form button:focus {
  background: #710015;
}

.form .message {
  margin: 10px 0 0;
  font-weight: bold;
  float: right;
}

.form .message a {
  color: #0054ca;
}

.form .message a:hover {
  text-decoration: underline;
}

.triplogin {
  margin-top: 10px;
  padding-top: 10px;
  text-align: left;
  color: #929292;
  letter-spacing: 0px;
}

.noticeTxt {
  border-left: 5px solid transparent;
  text-align: left;
  margin-bottom: 20px;
  position: relative;
}

.noticeTxt p::before {
  content: "";
  width: 353.7px;
  height: 42px;
  border-left: 5px solid #8c001a;
  position: absolute;
  left: -5px;
  bottom: 6px;
  pointer-events: none;
}

/* 20201109 */
.noticeTxt a {
  font-family: "Noto Sans TC", sans-serif;
  color: #8c001a;
  font-size: 1.5rem;
  font-weight: bolder;
}

.noticeTxt a:hover {
  color: #710015;
}

.noticeTxt p {
  line-height: 25px;
  margin-left: 10px;
  letter-spacing: 1.5px;
}

.couponTxt {
  line-height: 20px;
  font-size: 0.7rem;
  text-align: left;
}

/* 20201109 */
.couponTxt h3 {
  width: 100%;
  border-top: 1px dashed #929292;
  border-bottom: 1px dashed #929292;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 12px;
  /* background-color: #ffe400; */
  display: inline-block;
  padding: 3px 14px;
  line-height: 24px;
}

/* 20201109 */
.couponTxt p {
  /* line-height: 18px; */
  line-height: 20px;
  color: #464646;
  margin-left: 1px;
}

/* 20201109 */
.couponTxt #h3_txt {
  font-family: "Noto Sans TC", sans-serif;
  color: #8c001a;
  display: inline-block;
  font-weight: bolder;
}

#dot {
  color: #8c001a;
  display: inline-block;
}

/*========================RWD========================*/

@media (max-width: 600px) {
  .login-page {
    width: 380px;
    padding: 10% 0 0;
    margin: 0 auto;
    position: relative;
    left: auto;
    top: auto;
    transform: inherit;
  }
}

@media (max-width: 400px) {
  .login-page {
    width: 100%;
    padding: 0;
  }
  .form {
    border-radius: 0;
    padding: 65px 40px;
  }
  .noticeTxt a {
    font-size: 1.3rem;
  }
}

@media (max-width: 300px) {
  .noticeTxt a {
    font-size: 1.3rem;
  }
  .form h1 {
    text-align: center;
  }
  .noticeTxt {
    border-top: 1px solid #8c001a;
    border-left: none;
    padding-top: 10px;
  }
  .noticeTxt p {
    margin-left: 0;
    letter-spacing: 1px;
  }
}
